<?php
$connect = mysql_connect("localhost", "root", "") or die (" connect the database was failed ");
if (!$connect) { 
	die('Could not connect to MySQL: ' . mysql_error()); 
} 
mysql_select_db("tripviet") or die (" the database does not exist ");
?>